<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class PunchCardAdmin extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'punch_card_admin';
    
    protected $guarded = [];

    public function users()
    {
        return $this->belongsTo(PunchCardUser::class, 'openid', 'openid');
    }
}
